package com.xz.arzon.dao;

import com.xz.arzon.bean.Actress;
import com.xz.arzon.bean.Arzon;

import java.util.List;

/**
 * Created by YLZX-Z0107 on 2014/7/18.
 */
public interface ArzonDao {
    public int saveArzon(Arzon arzon);

    public int saveArzonImages(int aid, List<String> images);

    public int saveArzonUU(Actress actress);

    public int saveArzonName(int aid, List<Integer> uids);

    public Actress getByName(String name, Integer id);

    public Arzon getById(int id);

    public List<String> getImages(int aid);

    public List<Actress> getActress(int aid);

    public List<Arzon> getByActressId(int uid);

    public List<Arzon> getByPage(int offset, int limit);
}
